#coding:gbk
import os
from sqgx.sqgx import *
import time
f = open("projects.txt","r")
content = f.readlines()
f.close()
for line in content:
    if len(line.split('/'))>1 and line.split('/')[0]== "openstack-infra":
        print line.split('/')[0],line.split('/')[1]
#        os.system("rm -rf %s"%line.split('/')[1].strip())
#        searchGitAsy(line.split('/')[1].strip())
        searchGit(line.split('/')[0].strip(),line.split('/')[1].strip())
#        time.sleep(30)

#if __name__=='__main__':
#    url=raw_input('Input the ip you want to scan:\n')
#    lock=thread.allocate_lock()
#    ip_scan(url)